package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PersonProfessionalTechnologyEstimate;
import com.zhijian.medical.entity.vo.request.PersonProfessionalTechnologyEstimateSearchVo;
import com.zhijian.medical.entity.vo.response.PersonProfessionalTechnologyEstimateListVo;
import com.zhijian.medical.entity.vo.response.PersonProfessionalTechnologyEstimateVo;

import java.util.List;

public interface PersonProfessionalTechnologyEstimateMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PersonProfessionalTechnologyEstimate record);

    int insertSelective(PersonProfessionalTechnologyEstimate record);

    PersonProfessionalTechnologyEstimate selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PersonProfessionalTechnologyEstimate record);

    int updateByPrimaryKey(PersonProfessionalTechnologyEstimate record);

    int count(PersonProfessionalTechnologyEstimateSearchVo personProfessionalTechnologyEstimateSearchVo);

    List<PersonProfessionalTechnologyEstimateListVo> selectList(PersonProfessionalTechnologyEstimateSearchVo personProfessionalTechnologyEstimateSearchVo);

    PersonProfessionalTechnologyEstimateVo selectVoById(Long id);

    /**
     * 根据人员id进行查找
     *
     * @param personId
     * @return
     */
    PersonProfessionalTechnologyEstimateVo selectVoByPersonId(Long personId);
}